package com.example.mapper;

import com.example.bean.Viru;
import com.xphsc.easyjdbc.EasyJdbcTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class ViruMapper {

    @Autowired
    EasyJdbcTemplate easyJdbcTemplate;


    public void save(Viru viru) {
        easyJdbcTemplate.insert(viru);
    }
}
